package com.tsj.spzx.user.mapper;

import com.tsj.spzx.model.entity.user.UserInfo;
import com.tsj.spzx.model.vo.h5.UserInfoVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoMapper {

    /**
     * 根据用户名查询用户信息
     * @param username
     * @return
     */
    UserInfo findUserByName(String username);

    /**
     * 用户注册
     * @param userInfo
     */
    void save(UserInfo userInfo);

}
